.detail {
  .swiper {
    height: 65vw;
    text-align: center;
    // box-shadow: 0 10rpx 10rpx rgb(221, 221, 221);
    border-bottom: 2rpx solid rgb(212, 212, 212);
    margin-bottom: 10rpx;
    image {
      width: 70%;
    }
  }
  .price {
    color: rgb(230, 62, 62);
    font-weight: bold;
    font-size: 36rpx;

    padding: 10rpx;
  }
  .goods_title {
    display: flex;
    border: 4rpx solid rgb(206, 206, 206);
    box-shadow: 0 10rpx 10rpx rgb(238, 237, 237);
    padding: 15rpx 0;


    .goods_name {
      flex: 4;
      padding: 6rpx 10rpx;
      // white-space: nowrap;
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      text-overflow: ellipsis;
    }
    .goods_collect {
      flex: 1;
      display: flex;
      flex-direction: column;
      text-align: center;

      border-left: 2rpx solid #000;
      .iconfont {
        font-size: 50rpx;
      }
      .icon-shoucang2 {
        color: rgb(245, 231, 38);
      }
    }
  }
  .goods_info {
    margin-top: 40rpx;

    .goods_info_text {
      font-size: 36rpx;
      color: rgb(230, 62, 62);
      font-weight: bold;
      padding: 20rpx;
      margin-bottom: 40rpx;
    }
    .goods_info_content {
      box-shadow: 0 -10rpx 10rpx rgb(207, 207, 207);
    }
  }
  .tab_bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100rpx;
    background-color: #fff;
    border-top: 3rpx solid rgb(218, 218, 218);

    display: flex;
    .tool {
      flex: 1;
      display: flex;
      .tool_item {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        font-size: 24rpx;
        width: 100%;
      }
    }
    .btn {
      flex: 1;
      display: flex;
      text-align: center;
      align-items: center;
      justify-content: center;

      font-size: 32rpx;
      view {
        flex: 1;
        height: 100%;
        line-height: 100rpx;
        color: #fff;
        font-size: 30rpx;
        font-weight: bold;
      }
      .add_btn {
        background-color: rgb(238, 205, 22);
      }
      .shop_btn {
        background-color: rgb(236, 85, 85);
      }
    }
  }
}
.iconfont {
  padding-top: 10rpx;
  font-size: 40rpx;
}

page {
  padding-bottom: 100rpx;
}

button {
  position: absolute;
  top: 0;
  left: 0;
  width: 40rpx !important;
  height: 100%;
  opacity: 0;
}